package com.jk.dailydemo.myLibrary;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

import com.jk.dailydemo.R;
import com.jk.mylibrarytest.MainActivity_Library;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * Created by Administrator on 2017/6/12.
 */

public class MyLibraryActivity extends AppCompatActivity {
    @BindView(R.id.btn_test)
    Button mBtnTest;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_mylibrary);
        ButterKnife.bind(this);
    }

    @OnClick({R.id.btn_test})
    public void onClick(View view){
        switch (view.getId()){
            case R.id.btn_test:
                MainActivity_Library mainActivity_library = new MainActivity_Library();
                mainActivity_library.showToast(this);
                break;
        }
    }

}
